Question 1

Which structs do you need to decode the JSON data into a suitable Swift format?


Question 2

Which code is correct for querying a REST API in a given server asynchronously and decoding it into food items?


Question 3

After retrieving and decoding the JSON from the server, inside the getMenuData method, into an array of MenuItem , which of the following code blocks would convert data into the Dish objects with all the information, and store those items in Core Data?